package com.cehome.cloudbox.doman.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 流程履历DTO
 **/
@ApiModel
@Data
public class ProcHistoryDto {

    @ApiModelProperty("任务ID")
    private String taskId;

    @ApiModelProperty(value = "任务定义ID")
    private String taskDefId;

    @ApiModelProperty(value = "任务定义名称")
    private String taskDefName;

    @ApiModelProperty(value = "流程实例ID")
    private String procInsId;

    @ApiModelProperty("操作类型")
    private String type;

    @ApiModelProperty("操作类型名")
    private String typeName;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户名")
    private String userName;


    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;
}
